const rebarColums = [{
    title: '序号',
    dataIndex: 'index',
    scopedSlots: {
      customRender: 'index'
    },
    width: 80
  },
  {
    title: '物资名称',
    dataIndex: 'materialName',
    scopedSlots: {
      customRender: 'materialName'
    }
  },
  {
    title: '物料编码',
    dataIndex: 'materialCode',
    scopedSlots: {
      customRender: 'materialCode'
    }
  },
  {
    title: '钢筋规格',
    dataIndex: 'rebarModel',
    scopedSlots: {
      customRender: 'rebarModel'
    }
  },
  {
    title: '施工部位',
    dataIndex: 'constructionSiteStr',
    scopedSlots: {
      customRender: 'constructionSiteStr'
    }
  },
  {
    title: '构件类型',
    dataIndex: 'constructionTypeStr',
    scopedSlots: {
      customRender: 'constructionTypeStr'
    }
  },
  {
    title: '钢筋级别',
    dataIndex: 'constructionLevelStr',
    scopedSlots: {
      customRender: 'constructionLevelStr'
    }
  },


  {
    title: '钢筋量',
    dataIndex: 'rebarNum',
    scopedSlots: {
      customRender: 'rebarNum'
    }
  },
  {
    title: '备注',
    dataIndex: 'remark',
    scopedSlots: {
      customRender: 'remark'
    }
  },
  // {
  //   title: '操作',
  //   dataIndex: 'operation',
  //   scopedSlots: { customRender: 'operation' }
  // }
]
const concreteColumns = [{
    title: '序号',
    dataIndex: 'index',
    scopedSlots: {
      customRender: 'index'
    },
    width: 80
  },
  {
    title: '物资名称',
    dataIndex: 'materialName',
    scopedSlots: {
      customRender: 'materialName'
    }
  },
  {
    title: '物料编码',
    dataIndex: 'materialCode',
    scopedSlots: {
      customRender: 'materialCode'
    }
  },
  {
    title: '混凝土标号',
    dataIndex: 'concreteCode',
    scopedSlots: {
      customRender: 'concreteCode'
    }
  },
  {
    title: '施工部位',
    dataIndex: 'constructionSiteStr',
    scopedSlots: {
      customRender: 'constructionSiteStr'
    }
  },
  {
    title: '构件类型',
    dataIndex: 'constructionTypeStr',
    scopedSlots: {
      customRender: 'constructionTypeStr'
    }
  },

  {
    title: '混凝土量',
    dataIndex: 'concreteNum',
    scopedSlots: {
      customRender: 'concreteNum'
    }
  },
  {
    title: '备注',
    dataIndex: 'remark',
    scopedSlots: {
      customRender: 'remark'
    }
  },
  // {
  //   title: '操作',
  //   dataIndex: 'operation',
  //   scopedSlots: { customRender: 'operation' }
  // }
]
const materialColumns = [
  //  物资需求
  {
    title: '序号',
    width: 80,
    fixed: 'left',
    dataIndex: 'index',
    scopedSlots: {
      customRender: 'index'
    }
  },
  {
    title: '物资名称',
    width: 120,
    fixed: 'left',
    dataIndex: 'materialName',
    scopedSlots: {
      customRender: 'materialName'
    }
  },
  {
    title: '物料编码',
    dataIndex: 'materialCode',
    width: 150,
    scopedSlots: {
      customRender: 'materialCode'
    }
  },
  {
    title: '规格型号',
    dataIndex: 'materialModel',
    width: 150,
    scopedSlots: {
      customRender: 'materialModel'
    }
  },

  {
    title: '计量单位',
    dataIndex: 'materialUnit',
    width: 150,
    scopedSlots: {
      customRender: 'materialUnit'
    }
  },
  {
    title: '基础需用数量',
    dataIndex: 'baseNeedNum',
    width: 150,
    scopedSlots: {
      customRender: 'baseNeedNum'
    }
  },
  {
    title: '主体需用数量',
    dataIndex: 'mainNeedNum',
    width: 150,
    scopedSlots: {
      customRender: 'mainNeedNum'
    }
  },
  {
    title: '装修需用数量',
    dataIndex: 'decorationNeedNum',
    width: 150,
    scopedSlots: {
      customRender: 'decorationNeedNum'
    }
  },
  {
    title: '小计',
    dataIndex: 'subtotalNum',
    width: 150,
    scopedSlots: {
      customRender: 'subtotalNum'
    }
  },
  {
    title: '其他数量',
    dataIndex: 'otherNum',
    width: 150,
    scopedSlots: {
      customRender: 'otherNum'
    }
  },
  {
    title: '合计数量',
    dataIndex: 'totalNum',
    width: 150,
    scopedSlots: {
      customRender: 'totalNum'
    }
  },
  {
    title: '供应权限',
    dataIndex: 'supplyAuthStr',
    width: '150px',
    scopedSlots: {
      customRender: 'supplyAuthStr'
    }
  },
  {
    title: '备注',
    dataIndex: 'remark',
    width: 150,
    scopedSlots: {
      customRender: 'remark'
    }
  },
  // {
  //   title: '操作',
  //   dataIndex: 'operation',
  //   scopedSlots: {
  //     customRender: 'operation'
  //   },
  //   width: '120px',
  //   fixed: 'right'
  // }
]
const toolsColumns = [
  //  周转工具
  {
    title: '序号',
    dataIndex: 'index',
    width: 80,
    scopedSlots: {
      customRender: 'index'
    }
  },
  {
    title: '工具名称',
    dataIndex: 'materialName',
    scopedSlots: {
      customRender: 'materialName'
    }
  },
  {
    title: '物料编码',
    dataIndex: 'materialCode',
    scopedSlots: {
      customRender: 'materialCode'
    }
  },
  {
    title: '规格型号',
    dataIndex: 'materialModel',
    scopedSlots: {
      customRender: 'materialModel'
    }
  },

  {
    title: '计量单位',
    dataIndex: 'materialUnit',
    scopedSlots: {
      customRender: 'materialUnit'
    }
  },
  {
    title: '基础需用数量',
    dataIndex: 'baseNeedNum',
    scopedSlots: {
      customRender: 'baseNeedNum'
    }
  },
  {
    title: '主体需用数量',
    dataIndex: 'mainNeedNum',
    scopedSlots: {
      customRender: 'mainNeedNum'
    }
  },
  {
    title: '装修需用数量',
    dataIndex: 'decorationNeedNum',
    scopedSlots: {
      customRender: 'decorationNeedNum'
    }
  },
  {
    title: '合计数量',
    dataIndex: 'totalNum',
    scopedSlots: {
      customRender: 'totalNum'
    }
  },
  {
    title: '备注',
    dataIndex: 'remark',
    scopedSlots: {
      customRender: 'remark'
    }
  },

  
]
const equimentColumns = [
  // 机械设备
  {
    title: '序号',
    dataIndex: 'index',
    width: 80,
    scopedSlots: {
      customRender: 'index'
    }
  },
  {
    title: '设备名称',
    dataIndex: 'materialName',
    scopedSlots: {
      customRender: 'materialName'
    }
  },
  {
    title: '物料编码',
    dataIndex: 'materialCode',
    scopedSlots: {
      customRender: 'materialCode'
    }
  },
  {
    title: '规格型号',
    dataIndex: 'materialModel',
    scopedSlots: {
      customRender: 'materialModel'
    }
  },

  {
    title: '单位',
    dataIndex: 'materialUnit',
    scopedSlots: {
      customRender: 'materialUnit'
    }
  },
  {
    title: '计划数量',
    dataIndex: 'planNum',
    scopedSlots: {
      customRender: 'planNum'
    }
  },
  {
    title: '计划进场日期',
    dataIndex: 'planIntoDate',
    width: '150px',
    scopedSlots: {
      customRender: 'planIntoDate'
    }
  },
  {
    title: '计划退场日期',
    dataIndex: 'planOutDate',
    width: '150px',
    scopedSlots: {
      customRender: 'planOutDate'
    }
  },
  {
    title: '备注',
    dataIndex: 'remark',
    scopedSlots: {
      customRender: 'remark'
    }
  },
  // {
  //   title: '操作',
  //   dataIndex: 'operation',
  //   scopedSlots: {
  //     customRender: 'operation'
  //   }
  // }
]
export {
  rebarColums,
  concreteColumns,
  materialColumns,
  toolsColumns,
  equimentColumns
}